{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}
{% block content %}
<div class="center-block" style="width:90%">
<table class="table">
  <thead>
    <tr>
        <th>记录ID</th>
        <th>资产ID</th>
        <th>记录</th>
        <th>记录时间</th>
    </tr>
    </thead>
    <tbody>
{% for i in record %}
    <tr>
    <td>{{ i.record_id }}</td>
    <td>{{ i.asset_id }}</td>
    <td>{{ i.record }}</td>
    <td>{{ i.record_ctime }}</td>
    </tr>
{% endfor %}
    </tbody>
  </table>
  {% if pagination %}
  <div class="pagination center-block" style="width:90%">
      {{ macros.pagination_widget(pagination, 'record',asset_id=asset_id) }}
  </div>
  {% endif %}
</div>

{% endblock %}
